package com.zcoj.judgeServer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zcoj.pojo.Dto.ContestRecord;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;

/**
 * @method: []
 * @param: 
 * @returns: 
 * @description:        
 * @author: chen.bin
 * @version: 1.0.0
 * @date 2023/5/6 16:30
 **/
@CacheConfig(cacheNames = "ContestRecordService")
public interface ContestRecordEntityService extends IService<ContestRecord> {
    @CacheEvict(value = "ContestRecordService",allEntries = true)
    void updateContestRecord(Integer score, Integer status, Integer submitId, Integer useTime,Integer pid,Integer cid,Integer uid);
}
